package top.suven.base.http.admin.config.model;

import top.suven.base.core.mybatis.crud.Column;
import top.suven.base.core.mybatis.crud.GeneratedValue;
import top.suven.base.core.mybatis.crud.GenerationType;
import top.suven.base.util.createcode.Table;

import java.util.Date;
/**   
 * @Title: MqFailInfo.java
 * @Description: MQ消费失败信息的数据模型
 * @author lixiangling
 * @date   2018/09/06 18:49:45
 * @version V1.0.0
 * ----------------------------------------------------------------------------
 *  modifyer    modifyTime                 comment
 *
 * ----------------------------------------------------------------------------
 *
 */
@Table(name = "cmm_mq_fail_info")
public class MqFailInfo{

	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "seq_cmm_mq_fail_info")
	@Column(name = "mq_fail_id" , nullable = false)
	/** MQ消费失败数据编号 */
	private Long mqFailId;
	@Column(name = "topic_name" , nullable = false)
	/** 主题名称 */
	private String topicName;
	@Column(name = "mq_message" , nullable = false)
	/** 消息 */
	private String mqMessage;
	@Column(name = "exec_status" , nullable = false)
	/** 处理状态 */
	private Integer execStatus;
	@Column(name = "reason" , nullable = false)
	/** 原因 */
	private String reason;
	@Column(name = "create_time" , nullable = false)
	/** 创建时间 */
	private Date createTime;
	@Column(name = "modify_time" , nullable = false)
	/** 修改时间 */
	private Date modifyTime;
	@Column(name = "deal_info" , nullable = false)
	/** 处理信息 */
	private String dealInfo;
	@Column(name = "fail_info" , nullable = false)
	/** 失败信息 */
	private String failInfo;
	@Column(name = "global_id" , nullable = false)
	/** 全局唯一标识 */
	private String globalId;


	
	public void setMqFailId(Long mqFailId){
		this.mqFailId = mqFailId;
	}
	
	public Long getMqFailId(){
		return this.mqFailId;
	}
	
	public void setTopicName(String topicName){
		this.topicName = topicName;
	}
	
	public String getTopicName(){
		return this.topicName;
	}
	
	public void setMqMessage(String mqMessage){
		this.mqMessage = mqMessage;
	}
	
	public String getMqMessage(){
		return this.mqMessage;
	}
	
	public void setExecStatus(Integer execStatus){
		this.execStatus = execStatus;
	}
	
	public Integer getExecStatus(){
		return this.execStatus;
	}
	
	public void setReason(String reason){
		this.reason = reason;
	}
	
	public String getReason(){
		return this.reason;
	}
	
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}
	
	public Date getCreateTime(){
		return this.createTime;
	}
	
	public void setModifyTime(Date modifyTime){
		this.modifyTime = modifyTime;
	}
	
	public Date getModifyTime(){
		return this.modifyTime;
	}
	
	public void setDealInfo(String dealInfo){
		this.dealInfo = dealInfo;
	}
	
	public String getDealInfo(){
		return this.dealInfo;
	}
	
	public void setFailInfo(String failInfo){
		this.failInfo = failInfo;
	}
	
	public String getFailInfo(){
		return this.failInfo;
	}
	
	public void setGlobalId(String globalId){
		this.globalId = globalId;
	}
	
	public String getGlobalId(){
		return this.globalId;
	}
}